package org.example.mapper;

import org.example.entity.Condition;
import org.example.entity.Student;

import java.util.List;

/**
* @author asus
* @description 针对表【student】的数据库操作Mapper
* @createDate 2024-06-26 16:56:03
* @Entity org.example.entity.Student
*/
public interface StudentMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
    List<Student> getAllStudents();
    List<Student> getStudentsByCondition(Condition condition);
    List<Student> getStudentsWithGname();

}
